//===============================================================================
// Microsoft Architecture Strategy Team
// LitwareHR - SaaS Sample Application
//===============================================================================
// Copyright  Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================


using Microsoft.Practices.SmartClient.DisconnectedAgent;
using Shp.Runtime.Contract;
using System;
using System.Collections.Generic;

namespace LitwareHR.PublicApp.WinUX.DSA.UnSecure.DataModelService
{
	// Generated code for the web service.
	// Use this proxy to make requests to the service when working in an application that is occasionally connected
    public abstract class CallbackBase
    {
		#region GetInstanceList

		public abstract void OnGetInstanceListReturn(Request request, object[] parameters, StringPair[][] returnValue);

		public abstract OnExceptionAction OnGetInstanceListException(Request request, Exception ex);
		
		#endregion GetInstanceList
		
		#region GetViewDefFields

		public abstract void OnGetViewDefFieldsReturn(Request request, object[] parameters, StringPair[] returnValue);

		public abstract OnExceptionAction OnGetViewDefFieldsException(Request request, Exception ex);
		
		#endregion GetViewDefFields
		
		#region GetViewDefFieldsById

		public abstract void OnGetViewDefFieldsByIdReturn(Request request, object[] parameters, StringPair[] returnValue);

		public abstract OnExceptionAction OnGetViewDefFieldsByIdException(Request request, Exception ex);
		
		#endregion GetViewDefFieldsById
		
		#region GetEntityDefFields

		public abstract void OnGetEntityDefFieldsReturn(Request request, object[] parameters, EntityField[] returnValue);

		public abstract OnExceptionAction OnGetEntityDefFieldsException(Request request, Exception ex);
		
		#endregion GetEntityDefFields
		
		#region GetEntityDefList

		public abstract void OnGetEntityDefListReturn(Request request, object[] parameters, Dictionary<Guid, string> returnValue);

		public abstract OnExceptionAction OnGetEntityDefListException(Request request, Exception ex);
		
		#endregion GetEntityDefList
		
		#region GetViewDefList

        public abstract void OnGetViewDefListReturn(Request request, object[] parameters, Dictionary<Guid, string> returnValue);

		public abstract OnExceptionAction OnGetViewDefListException(Request request, Exception ex);
		
		#endregion GetViewDefList
		
		#region GetTypeList

		public abstract void OnGetTypeListReturn(Request request, object[] parameters, GuidStringPair[] returnValue);

		public abstract OnExceptionAction OnGetTypeListException(Request request, Exception ex);
		
		#endregion GetTypeList
		
	}
}
